package me.bay.gt.java.service;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ServiceA {
    private final ServiceB serviceB;

    public void workWithB() {
        System.out.println("hi");
        serviceB.show();
    }
}
